package ru.ipo.dces.plugins.admin.resultstable;

import javax.swing.table.TableCellRenderer;
import java.util.Collections;
import java.util.Set;

/**
 * Created by IntelliJ IDEA.
 * User: ilya
 * Date: 29.03.11
 * Time: 19:41
 */
public class KeySet {

    /**
     * Set of keys
     */
    private Set<String> keys;

    /**
     * Renderer for this type of sets
     */
    private TableCellRenderer renderer;

    public KeySet(Set<String> keys, TableCellRenderer renderer) {
        this.keys = keys;
        this.renderer = renderer;
    }

    public Set<String> getKeys() {
        return Collections.unmodifiableSet(keys);
    }

    public TableCellRenderer getRenderer() {
        return renderer;
    }
}
